/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package algorithm;

/**
 *
 * @author Pierre
 */
public class AlgorithmState {

    private int nGenerations;

    public AlgorithmState() {
        this.nGenerations = 0;
    }

    public void addGeneration() {
        nGenerations++;
    }

    public int getNGenerations() {
        return nGenerations;
    }

    public void setNGenerations(int nGenerations) {
        this.nGenerations = nGenerations;
    }
}
